<template>
  <div id="userInfo">
    <div class="pageHeader">
      <el-row :gutter="10">
        <el-col>
          <el-page-header @back="goBack" content="个人中心"></el-page-header>
        </el-col>
      </el-row>
    </div>

    <router-view></router-view>
  </div>
</template>
<script>

export default {
  methods:{
    goBack() {
      this.$router.go(-1);
    },
  }
};
</script>
<style>
#userInfo .el-tab-pane {
  padding: 30px;
}

#userInfo .pageHeader {
  margin-bottom: 50px;
  border-bottom: solid 1px #eaeefb;
}
#userInfo .el-page-header {
  padding: 20px;
}

</style>